package com.upcode.weighing.vo.req.pc;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author : liqi
 * Date: 2018-05-09
 * Time: 9:34
 */
public class SysUserUpdatePwdVo implements Serializable {


    @NotNull(message = "系统用户ID不能为空")
    private String id;
//    @NotEmpty(message = "旧密码不能为空")
//    private String oldPassword;
    @NotNull(message = "新密码不能为空")
    private String newPassword;
    @NotNull(message = "重复密码不能为空")
    private String repPassword;

    /**
     * 头像
     */
    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getRepPassword() {
        return repPassword;
    }

    public void setRepPassword(String repPassword) {
        this.repPassword = repPassword;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
